﻿using MediatR;

namespace Architecture.Api.Application.Command.UserCommand
{
    public class UserCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? UserSex { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? UserAddress { get; set; }
        /// <summary>
        /// 省份外键
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 市区外键
        /// </summary>
        public int UrbanId { get; set; }
        /// <summary>
        /// 县城外键
        /// </summary>
        public int CountyId { get; set; }
    }
}
